package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 短信发送记录对象 sms_send_record
 * 
 * @author ruoyi
 * @date 2023-12-28
 */
public class SmsSendRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 短信类别 */
    @Excel(name = "短信类别")
    private String businessType;

    /** 发送手机号 */
    @Excel(name = "发送手机号")
    private String mobile;

    /** 短信内容 */
    @Excel(name = "短信内容")
    private String content;

    /** 短信状态 */
    @Excel(name = "短信状态")
    private Long status;

    /** 短信编号 */
    @Excel(name = "短信编号")
    private String sendId;

    /** 短信结果 */
    @Excel(name = "短信结果")
    private String sendResult;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setSendId(String sendId) 
    {
        this.sendId = sendId;
    }

    public String getSendId() 
    {
        return sendId;
    }
    public void setSendResult(String sendResult) 
    {
        this.sendResult = sendResult;
    }

    public String getSendResult() 
    {
        return sendResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessType", getBusinessType())
            .append("mobile", getMobile())
            .append("content", getContent())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("sendId", getSendId())
            .append("sendResult", getSendResult())
            .toString();
    }
}
